This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
i´ve got two plugins: The first one is some kind of 'tool plugin', a collection of common classes/methods which might be useful in other plugins.
The second plugin should simply call those 'tools'.
The problem: When calling any method of the lotus.domino.Session class in the 'other' plugin, a java.lang.LinkageError: JVMJ9VM069 will be thrown.
To analyze this problem, i reduced the tool plugin to export this class only:
package test;
import lotus.domino.NotesException;
import lotus.domino.Session;
public class NotesTest {
The first print (Plugin B...) works, the second print (Plugin A) throws the error mentioned before.
Using NotesSessionJob instead of NotesThread/NotesFactory doesnt help.
Those two plugins have different class loaders, i thought maybe Notes doesnt like this.
So i removed the session parameter and created an own session in the tool plugin.
Again, i tries both NotesThread/NotesFactory and NotesSessionJob.
Surprise, i got another error:
java.lang.UnsatisfiedLinkError: nlsxbe (Library is already loaded in another ClassLoader)
When moving the 'tools class' from plugin A to plugin B, everything is fine.
In the original version of this tool plugin, the tool class was not exported/imported but supplied as an osgi service. Which means, a service doesnt help, too.
Is this a known limitation of Notes or do i miss something?
I´m using Notes 8.5.1 FP1, due to some reason it´s not possible to try FP2 yet.
Thanks in advance for any help.
Thomas
Feedback number WEBB85KBVW created by Thomas TM Martin on 05/18/2010
Feedback response number WEBB8ETFJ2 created by ~Lex Asaniterjip on 03/10/2011